export default {
  path: 'collect',
  name: 'Collect',
  component: () =>
    import(/* webpackChunkName: "dataCollect" */ '@main/routes/dataCollect/index'),
  children: [{
    path: 'buildingCheckin',
    name: 'CollectBuildingCheckin',
    component: () =>
      import(/* webpackChunkName: "dataCollect" */ '@main/routes/dataCollect/buildingCheckin'),
    meta: {
      role: '楼栋入住'
    }
  }, {
    path: 'checkinApply',
    name: 'CollectCheckinApply',
    component: () =>
      import(/* webpackChunkName: "dataCollect" */ '@main/routes/dataCollect/checkinApply'),
    meta: {
      role: '住宿申请'
    }
  }, {
    path: 'dormCheck',
    name: 'CollectDormCheck',
    component: () =>
      import(/* webpackChunkName: "dataCollect" */ '@main/routes/dataCollect/dormCheck'),
    meta: {
      role: '寝室检查'
    }
  }, {
    path: 'dormRate',
    name: 'CollectDormRate',
    component: () =>
      import(/* webpackChunkName: "dataCollect" */ '@main/routes/dataCollect/dormRate'),
    meta: {
      role: '寝室评比'
    }
  }]
}
